var Mock = require('mockjs')
// 压型 配料曲线
Mock.mock('http://127.0.0.1:7002/ingredientsform', 'get', {
  'ret': 0,
  tableData: [
    {
      label: '创建者',
      prop: 'creator',
      placeholder: '请输入创建者',
      val: 'creator',
      type: 'string'
    },
    {
      label: '批号',
      prop: 'batch_number',
      placeholder: '请输入批号（加工单位）',
      val: 'batch_number',
      type: 'string'
    },
    {
      label: '规格类型',
      prop: 'norms_type',
      placeholder: '请输入规格类型',
      val: 'norms_type',
      type: 'string'
    },
    // {
    //   label: '产品名称',
    //   prop: 'production_name',
    //   placeholder: '请输入产品名称',
    //   val: 'production_name',
    //   type: 'string'
    // },
    {
      label: '描述',
      prop: 'describe',
      placeholder: '请输入描述',
      val: 'describe',
      type: 'string'
    },
    {
      label: '班次',
      prop: 'divisions',
      placeholder: '请输入班次',
      val: 'divisions',
      type: 'string'
    },
    {
      label: '班别',
      prop: 'class',
      placeholder: '请输入班别',
      val: 'class',
      type: 'string'
    },
    {
      label: '备料员',
      prop: 'operator',
      placeholder: '请输入备料员',
      val: 'operator',
      type: 'string'
    },
    {
      label: '锅号',
      prop: 'pot_number',
      placeholder: '请输入锅号',
      val: 'pot_number',
      type: 'string'
    },
    {
      label: '出锅时间',
      prop: 'out_boiler_time',
      placeholder: '请输入出锅时间',
      val: 'out_boiler_time',
      type: 'string'
    },
    {
      label: '下料时间',
      prop: 'baiting_time',
      placeholder: '请输入下料时间',
      val: 'baiting_time',
      type: 'string'
    },
    {
      label: '下油时间',
      prop: 'oil_time',
      placeholder: '请输入下油时间',
      val: 'pot_number',
      type: 'string'
    },
    {
      label: '一次加油量',
      prop: 'first_addOil',
      placeholder: '请输入一次加油量',
      val: 'first_addOil',
      type: 'float'
    },
    {
      label: '二次加油量',
      prop: 'second_addOil',
      placeholder: '请输入二次加油量',
      val: 'second_addOil',
      type: 'float'
    },
    {
      label: '备注',
      prop: 'decs',
      placeholder: '请输入备注',
      val: 'decs',
      type: 'string'
    }
  ]
})
Mock.mock('http://127.0.0.1:7002/ingredientsOperaForm', 'get', {
  'ret': 0,
  tableData: [
    {
      label: '创建者',
      prop: 'creator',
      placeholder: '请输入创建者',
      val: 'creator',
      type: 'string'
    },
    {
      label: '批号',
      prop: 'batch_number',
      placeholder: '请输入批号（加工单位）',
      val: 'batch_number',
      type: 'string'
    },
    {
      label: '规格类型',
      prop: 'norms_type',
      placeholder: '请输入规格类型',
      val: 'norms_type',
      type: 'string'
    },
    // {
    //   label: '产品名称',
    //   prop: 'production_name',
    //   placeholder: '请输入产品名称',
    //   val: 'production_name',
    //   type: 'string'
    // },
    {
      label: '描述',
      prop: 'describe',
      placeholder: '请输入描述',
      val: 'describe',
      type: 'string'
    },
    {
      label: '班次',
      prop: 'divisions',
      placeholder: '请输入班次',
      val: 'divisions',
      type: 'string'
    },
    {
      label: '班别',
      prop: 'class',
      placeholder: '请输入班别',
      val: 'class',
      type: 'string'
    },
    {
      label: '备料员',
      prop: 'operator',
      placeholder: '请输入备料员',
      val: 'operator',
      type: 'string'
    },
    {
      label: '锅号',
      prop: 'pot_number',
      placeholder: '请输入锅号',
      val: 'pot_number',
      type: 'string'
    },
    {
      label: '下料时间',
      prop: 'baiting_time',
      placeholder: '请输入下料时间',
      val: 'baiting_time',
      type: 'string'
    },
    {
      label: '下油时间',
      prop: 'oil_time',
      placeholder: '请输入下油时间',
      val: 'pot_number',
      type: 'string'
    },
    {
      label: '一次加油量',
      prop: 'first_addOil',
      placeholder: '请输入一次加油量',
      val: 'first_addOil',
      type: 'string'
    },
    {
      label: '二次加油量',
      prop: 'second_addOil',
      placeholder: '请输入二次加油量',
      val: 'second_addOil',
      type: 'string'
    },
    {
      label: '出锅时间',
      prop: 'out_boiler_time',
      placeholder: '请输入出锅时间',
      val: 'out_boiler_time',
      type: 'string'
    },
    {
      label: '备注',
      prop: 'decs',
      placeholder: '请输入备注',
      val: 'decs',
      type: 'string'
    }
  ]
})
